.class Lcom/estrongs/android/view/y$c;
.super Ljava/lang/Thread;
.source "FileTransferGridViewWrapper.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/view/y;->J0()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/view/y;


# direct methods
.method constructor <init>(Lcom/estrongs/android/view/y;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/view/y$c;->a:Lcom/estrongs/android/view/y;

    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 13

    .line 1
    new-instance v0, Ljava/util/LinkedHashMap;

    invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V

    .line 2
    invoke-static {}, Les/ul;->e()Les/ul;

    move-result-object v1

    invoke-virtual {v1}, Les/ul;->c()Ljava/util/Map;

    move-result-object v1

    if-eqz v1, :cond_4

    .line 3
    invoke-interface {v1}, Ljava/util/Map;->keySet()Ljava/util/Set;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v2

    const/4 v3, 0x0

    const/4 v4, 0x0

    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-eqz v5, :cond_4

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/lang/String;

    .line 4
    invoke-interface {v1, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Ljava/util/List;

    .line 5
    new-instance v7, Lcom/estrongs/android/view/y$p;

    iget-object v8, p0, Lcom/estrongs/android/view/y$c;->a:Lcom/estrongs/android/view/y;

    invoke-direct {v7, v8}, Lcom/estrongs/android/view/y$p;-><init>(Lcom/estrongs/android/view/y;)V

    if-eqz v6, :cond_0

    .line 6
    invoke-interface {v6}, Ljava/util/List;->size()I

    move-result v8

    goto :goto_1

    :cond_0
    const/4 v8, 0x0

    :goto_1
    iput v8, v7, Lcom/estrongs/android/view/y$p;->b:I

    const-string v8, "_"

    .line 7
    invoke-virtual {v5, v8}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v8

    invoke-virtual {v5, v3, v8}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v5

    iput-object v5, v7, Lcom/estrongs/android/view/y$p;->a:Ljava/lang/String;

    .line 8
    new-instance v5, Ljava/util/ArrayList;

    invoke-direct {v5}, Ljava/util/ArrayList;-><init>()V

    if-eqz v6, :cond_3

    .line 9
    invoke-interface {v6}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v6

    :cond_1
    :goto_2
    invoke-interface {v6}, Ljava/util/Iterator;->hasNext()Z

    move-result v8

    if-eqz v8, :cond_3

    invoke-interface {v6}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Les/rl;

    if-eqz v8, :cond_1

    .line 10
    iget-object v9, v8, Les/rl;->b:Ljava/lang/String;

    if-eqz v9, :cond_1

    .line 11
    new-instance v9, Ljava/io/File;

    iget-object v10, v8, Les/rl;->b:Ljava/lang/String;

    invoke-direct {v9, v10}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 12
    new-instance v10, Les/pl;

    invoke-direct {v10, v9}, Les/pl;-><init>(Ljava/io/File;)V

    .line 13
    invoke-virtual {v9}, Ljava/io/File;->isDirectory()Z

    move-result v11

    if-eqz v11, :cond_2

    const/4 v11, 0x1

    .line 14
    iput-boolean v11, v10, Les/pl;->u:Z

    .line 15
    invoke-virtual {v9}, Ljava/io/File;->listFiles()[Ljava/io/File;

    move-result-object v11

    if-eqz v11, :cond_2

    .line 16
    invoke-virtual {v9}, Ljava/io/File;->listFiles()[Ljava/io/File;

    move-result-object v9

    array-length v9, v9

    iput v9, v10, Les/pl;->t:I

    .line 17
    :cond_2
    iget-object v9, v8, Les/rl;->h:Ljava/lang/String;

    iput-object v9, v10, Les/pl;->v:Ljava/lang/String;

    .line 18
    iget-wide v11, v8, Les/rl;->d:J

    iput-wide v11, v10, Les/pl;->p:J

    .line 19
    iget v8, v8, Les/rl;->f:I

    iput v8, v10, Les/pl;->q:I

    .line 20
    iget-object v8, p0, Lcom/estrongs/android/view/y$c;->a:Lcom/estrongs/android/view/y;

    invoke-static {v8}, Lcom/estrongs/android/view/y;->f(Lcom/estrongs/android/view/y;)Lcom/estrongs/android/view/y$q;

    move-result-object v8

    iput-object v8, v10, Les/pl;->r:Lcom/estrongs/android/view/y$q;

    .line 21
    invoke-interface {v5, v10}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_2

    .line 22
    :cond_3
    invoke-interface {v0, v7, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    add-int/lit8 v4, v4, 0x1

    goto/16 :goto_0

    .line 23
    :cond_4
    iget-object v1, p0, Lcom/estrongs/android/view/y$c;->a:Lcom/estrongs/android/view/y;

    invoke-static {v1}, Lcom/estrongs/android/view/y;->g(Lcom/estrongs/android/view/y;)Ljava/util/Map;

    move-result-object v1

    .line 24
    iget-object v2, p0, Lcom/estrongs/android/view/y$c;->a:Lcom/estrongs/android/view/y;

    invoke-static {v2, v0}, Lcom/estrongs/android/view/y;->a(Lcom/estrongs/android/view/y;Ljava/util/Map;)Ljava/util/Map;

    .line 25
    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    const/4 v2, 0x2

    .line 26
    iput v2, v0, Landroid/os/Message;->what:I

    .line 27
    iput-object v1, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    .line 28
    iget-object v1, p0, Lcom/estrongs/android/view/y$c;->a:Lcom/estrongs/android/view/y;

    invoke-static {v1}, Lcom/estrongs/android/view/y;->h(Lcom/estrongs/android/view/y;)Landroid/os/Handler;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    return-void
.end method
